ASENHA\Classes\Common_Methods B

Total Complexity 87
Dependencies 2
Dependents 7
Total lines 530
Lines of code 358
Logical lines of code 167
Comment lines 149
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
get_user_ip_address()
B
41 19 56
hex_to_rgba()
S
59 8 11
is_ip_valid()
S
62 6 11
get_user_capabilities_to_show_menu_toggle_for()
S
55 5 20
get_image_url()
S
56 5 18
get_array_of_keys_with_true_value()
S
61 5 13
get_kses_extended_ruleset()
S
42 1 65
adjust_bnrightness()
S
55 4 18
seconds_to_period()
S
60 4 13
get_post_type_singular_label()
S
64 4 10
get_current_url()
S
63 4 9
get_menu_hidden_by_toggle()
S
61 3 13
get_most_recent_post_id()
S
58 2 16
sanitize_hex_color()
S
64 3 10
is_in_block_editor()
S
67 3 8
is_woocommerce_active()
S
69 3 7
strip_html_tags_and_content()
S
65 3 9
is_color_dark()
S
60 2 12
transform_menu_item_id()
S
58 1 18
restore_menu_item_id()
S
58 1 18
get_svg_triangle()
S
82 1 3